TouchCanceled

fun TouchCanceled(touches: List<TouchPoint>, changedTouches: List<TouchPoint> = emptyList(), targetTouches: List<TouchPoint> = emptyList(), keyModifiers: KeyModifiers = KeyModifiers()): TouchCanceled
fun TouchCanceled(touches: List<TouchPoint>, changedTouches: List<TouchPoint> = emptyList(), targetTouches: List<TouchPoint> = emptyList(), keyModifiers: KeyModifiers = KeyModifiers()): TouchCanceled

Creates a new instance of TouchCanceled event with the given parameters.

Since

8.0.0

Parameters

touches

All touch points that are currently present on the screen.

changedTouches

The touch points that have been removed, and no longer touching the surface.

targetTouches

The touch points that started on the target element of this event.

keyModifiers

The keyboard modifiers to apply.